package com.ruoyi.wx.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 订单表 t_order
 *
 * @author ruoyi
 * @date 2020-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order")
public class TOrder  implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;
    /**
     * 订单编号
     */
    private String orderNo;
    private String userId;
    private String goodsId;
    /**
     * 订单价格
     */
    private BigDecimal orderPrice;
    /**
     * 订单状态  1待付款  2已付款  3已发货 4已收货
     */
    private String orderStatus;

    /**创建时间*/
    private Date createTime;
    /** 付款时间 */
    private Date payTime;
    @TableField(exist = false)
    private String type;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String goodsName;
}